This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jan 25, 2012, 4:28 AM
1 Posts

Bug or Feature? Option Declare issue

  • Category: Other
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 2
Can save code with undeclared vars and Option Declare in the script.
On one hand, it's nice to be able to save my code when I need to head out.
On the other hand, it is unreliable.
 
Anyone else have this question or an anwer?
 
 
Jan 25, 2012, 8:51 AM
122 Posts
Re: Bug or Feature? Option Declare issue
Is this in a LotusScript agent? Without a bit more context or tags added to the post it's hard to be sure. If so, it's a feature introduced with the newer LotusScript editor.
 
If so, Forms and Views which use the old editor don't save with errors as far as I know. Agents and Script Libraries do, which is good. There are times I wished this could have been possible in the past. It will save, but not compile the code. So if you use the application it will only use the last successfully compiled version.
 
I thought that if there are errors it identifies this with a red 'x' so you can easily find them. It shows in the Problems pane so you can quickly see there, but not in the Applications pane, which is a little annoying.
Jan 25, 2012, 10:22 AM
53 Posts
Re: Bug or Feature? Option Declare issue
I always though it worked except for in shared actions, so if this is your problem then it's a known issue/bug/feature

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal